<%--

  @author yulezhisi
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>

    <link rel="shortcut icon" href="<c:url value="/images/favicon.ico"/>" type="image/x-icon"/>
    <script src="<c:url value="/js/jquery-1.9.1.min.js"/>"></script>
    <script src="<c:url value="/layui/layui.js"/>"></script>
    <link rel="stylesheet" type="text/css" href="<c:url value="/layui/css/layui.css"/>">

    <script src="<c:url value="/js/my/commons.js"/>"></script>

    <%--cookie实现记住密码和自动登录--%>
    <script src="<c:url value="/js/jquery.cookie.js"/>"></script>
    <script src="<c:url value="/js/my/login.js"/>"></script>

    <style>
        .container {
            margin: 80px auto;
        }

    </style>
    <script>

    </script>

</head>
<body>

<div class="container">
    <form class="layui-form" lay-filter="login_form" id="login_form">
        <div class="layui-form-item" style="width: 430px;">
            <label class="layui-form-label">账户:</label>
            <div class="layui-input-block">
                <input type="text" name="username" required lay-verify="required" placeholder="请输入账户"
                       class="layui-input"
                       autofocus
                >
            </div>
        </div>
        <div class="layui-form-item" style="width: 430px;">
            <label class="layui-form-label">密码:</label>
            <div class="layui-input-block">
                <input type="password" name="password" required lay-verify="required" placeholder="请输入密码"
                       class="layui-input">
            </div>
        </div>

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label "></label>
        </div>

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label ">记住我</label>
            <input type="checkbox" id="rememberMe" lay-skin="switch" lay-filter="rememberMe">
        </div>

        <div class="layui-form-item  layui-inline  ">
            <label class="layui-form-label">自动登录</label>
            <input type="checkbox" id="autoLogin" lay-skin="switch" lay-filter="autoLogin">
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn" id="btn_login">登录</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>


</div>

</body>
</html>
